package org.langcom.logic.automata;

import java.io.Serializable;
import java.util.Date;

public class LongData implements Serializable {

	private static final long serialVersionUID = 6487230854165676189L;
	private Long id;
	private Date created;
	private Date updated;

	protected LongData() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public boolean equals(Object object) {
		if (!(object instanceof LongData)) {
			return false;
		}
		if (this.getClass() != object.getClass()) {
			return false;
		}
		LongData data = (LongData) object;
		return getId().equals(data.getId());
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}
}
